home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Prog / T / ThinkHelper 1.0b1.sit / ThinkHelper 1.0b1 / Source (!) / Source / Exceptions.c / Exceptions.c
Encoding:
C/C++ Source or Header  |  1993-08-18  |  308 b   |  21 lines  |  [TEXT/KAHL]

  1. /*
  2.     Exceptions.c
  3.     
  4.     C++ style exception handling.
  5.     
  6.     by Patrick C. Beard.
  7.  */
  8.  
  9. #include "Exceptions.h"
  10.  
  11. #ifndef __TYPES__
  12. #include <Types.h>
  13. #endif
  14.  
  15. long theException = 0;
  16. ExceptionFrame* theFrame = nil;
  17.  
  18. #ifdef EXCEPTIONS_DEBUG
  19. const char cThrowFormatString[] = "Exception thrown: line %d, file %s";
  20. #endif
  21.